package com.llmops.core.workflow;

import lombok.Data;

@Data
class Connection {
    private String sourceId;
    private String targetId;
    private String conditionType;
    private Object conditionValue;

    public Connection() {
    }

    public Connection(String sourceId, String targetId, String conditionType, Object conditionValue) {
        this.sourceId = sourceId;
        this.targetId = targetId;
        this.conditionType = conditionType;
        this.conditionValue = conditionValue;
    }

    public Connection(String sourceId, String targetId) {
        this.sourceId = sourceId;
        this.targetId = targetId;
    }
}
